home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3231 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: ix.netcom.com!netnews
  2. From: miker3@ix.netcom.com (Mike Rubenstein)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Standard in C++ missing from C?????
  5. Date: Sat, 27 Jan 1996 04:13:50 GMT
  6. Organization: Netcom
  7. Message-ID: <3109a632.17484416@nntp.ix.netcom.com>
  8. References: <4eb1dm$ogl@lunar.eclipse.net> <31097fd5.7663872@nntp.ix.netcom.com>
  9. NNTP-Posting-Host: ix-dc17-13.ix.netcom.com
  10. X-NETCOM-Date: Fri Jan 26  8:14:02 PM PST 1996
  11. X-Newsreader: Forte Agent .99c/16.141
  12.  
  13. miker3@ix.netcom.com (Mike Rubenstein) wrote:
  14.  
  15. > meritech@eclipse.net wrote:
  16. > > Does C++ have a standard written for the definition of :
  17. > > 
  18. > > p = p++;
  19. > > 
  20. > > My boss asked me, and I have no clue.  I know that C basically says that this
  21. > > is undefined and should NOT be used in a real program.  And I know the debate
  22. > > that rages on and on.  BUT, does C++ have this same problem???
  23. > > 
  24. > > My compiler doesn't complain, but then, that doesn't supprise me either.
  25. > You really should ask this in comp.lang.c++, but the anser is no.  The
  26. > rules in C++ are the same as in C.
  27.  
  28. Of course I meant no, C++ does not have a definition of p = p++.  It
  29. most certainly does have this same "problem" (in quotes, because I'm
  30. not convinced it is a problem in either language).
  31.  
  32. Michael M Rubenstein
  33.